<template>
	<view class="content">
		<view class="cu-bar margin-top bg-white">
			<view class="action">
				<text class="cuIcon-title text-blue"></text>选择登录
			</view>
		</view>
		<view class="padding flex flex-direction">
			<button class="cu-btn block bg-blue margin-tb-sm lg" @click="goTea()">教师端</button>
			<button class="cu-btn bg-red margin-tb-sm lg" @click="goStu()">学生端</button>
		</view>
	</view>
</template>

<script>
	// import CcButton from '@/components/cc-button/cc-button.vue'
	export default {
		// components: {
		// 	CcButton
		// },
		data() {
			return {}
		},
		methods: {
			goTea() {
				uni.navigateTo({
					url: '/pages/index/login-tea'
				});
			},
			goStu() {
				uni.navigateTo({
					url: '/pages/index/login-stu'
				});
			},
			showloading(type) {
				this[type] = true
				setTimeout(() => {
					this[type] = false
				}, 3500);
			}
		}
	}
</script>

<style>
	.margin-top {
		margin-top: 120rpx;
	}
</style>
